package com.dongdongshop.service.imp;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbGoodsDescMapper;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.service.GoodsDescService;

import javax.annotation.Resource;

@Service
@org.springframework.stereotype.Service
public class GoodsDescServiceImpl implements GoodsDescService {
    @Resource
    private TbGoodsDescMapper tbGoodsDescMapper;

    @Override
    public TbGoodsDesc getById(Long goodsId) {
        return tbGoodsDescMapper.selectByPrimaryKey(goodsId);
    }
}
